Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 0bd99d35055beab61ed69a4fd5d2f98c267e45f7


Parents : 0cafdff
Author : Mark Qvist <mark@unsigned.io>
Date : 2023-02-03T20:32:35+01:00

Updated build spec

Changes

3 files changed, 5 insertions(+), 4 deletions(-)

M sbapp/main.py +1 -1

Diff

diff --git a/sbapp/buildozer.spec b/sbapp/buildozer.spec
index f4cb5516..07e2e98f 100644
--- a/sbapp/buildozer.spec
+++ b/sbapp/buildozer.spec
@@ -20,7 +20,8 @@ icon.filename = %(source.dir)s/assets/icon.png
presplash.filename = %(source.dir)s/assets/presplash_small.png
android.presplash_color = #00000000
-orientation = all
+# TODO: Fix
+orientation = portrait
fullscreen = 0
android.permissions = INTERNET,POST_NOTIFICATIONS,WAKE_LOCK,FOREGROUND_SERVICE,CHANGE_WIFI_MULTICAST_STATE,BLUETOOTH_CONNECT

diff --git a/sbapp/main.py b/sbapp/main.py
index bd59e0ff..c2611e15 100644
--- a/sbapp/main.py
+++ b/sbapp/main.py
@@ -1,6 +1,6 @@
__debug_build__ = False
__disable_shaders__ = True
-__version__ = "0.5.1"
+__version__ = "0.5.2"
__variant__ = "beta"
import sys

diff --git a/sbapp/patches/AndroidManifest.tmpl.xml b/sbapp/patches/AndroidManifest.tmpl.xml
index f8867634..c29b290e 100644
--- a/sbapp/patches/AndroidManifest.tmpl.xml
+++ b/sbapp/patches/AndroidManifest.tmpl.xml
@@ -78,7 +78,7 @@
<activity android:name="{{args.android_entrypoint}}"
android:label="@string/app_name"
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|fontScale|uiMode{% if args.min_sdk_version >= 8 %}|uiMode{% endif %}{% if args.min_sdk_version >= 13 %}|screenSize|smallestScreenSize{% endif %}{% if args.min_sdk_version >= 17 %}|layoutDirection{% endif %}{% if args.min_sdk_version >= 24 %}|density{% endif %}"
- android:screenOrientation="{{ args.orientation }}"
+ android:screenOrientation="user"
android:exported="true"
{% if args.activity_launch_mode %}
android:launchMode="{{ args.activity_launch_mode }}"
@@ -147,7 +147,7 @@
{% endfor %}
<provider
- android:name="android.support.v4.content.FileProvider"
+ android:name="androidx.core.content.FileProvider"
android:authorities="io.unsigned.sideband.provider"
android:exported="false"
android:grantUriPermissions="true">


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────